package cn.org.eshow.dao;


import cn.org.eshow.bean.query.PromotionQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Promotion;

import java.util.List;

/**
 * An interface that provides a data management interface to the Promotion table.
 */
public interface PromotionDao extends GenericDao<Promotion, Integer> {

	List<Promotion> list(PromotionQuery query);

	Page<Promotion> search(PromotionQuery query);

    Long count(PromotionQuery query);
}